package wechat.base.snd;

import wechat.base.snd.WCServiceApp;
import wechat.base.snd.encoding.JsonPut;
import wechat.base.snd.util.ExecPost;

@SuppressWarnings("all")
public abstract class WCServiceAppMessage {
  protected WCServiceApp app;
  
  protected JsonPut content;
  
  public void send2Users(final Iterable<String> users) {
    for (final String usr : users) {
      {
        this.content.putObj("touser", usr);
        ExecPost.excuteJsonPost(this.app.getApplicationUrl(), this.content.toString());
      }
    }
  }
}
